﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Language.ascx.cs" Inherits="MovieWebApp.Controls.Language" %>
<table>
    <tr>
    <td>
        <asp:Label ID = "lblLang" Text = "<%$ Resources: WebResources, LabelLanguage %>"
        runat = "server" style = "color:White"></asp:Label>
        &nbsp;
        <asp:ImageButton ID = "EnglishFlag" ImageUrl = "~/Images/EnglishFlag.JPG"
        AlternateText = "English" runat = "server" Height = "17" Width = "25"
        onclick = "EnglishFlag_Click" />
        &nbsp;
        <asp:ImageButton ID = "BrasilFlag" ImageUrl = "~/Images/BrasilFlag.JPG"
        AlternateText = "Brasil" runat = "server" Height = "17" Width = "25"
        onclick = "BrasilFlag_Click" />
        &nbsp;
        <asp:ImageButton ID = "UkrainianFlag" ImageUrl = "~/Images/UkrainianFlag.JPG"
        AlternateText = "Ukraine" runat = "server" Height = "17" Width = "25"
        onclick = "UkrainianFlag_Click" />
</td>
</tr>
<tr>
<td>
        <asp:Label ID = "lblCurrency" Text = "<%$ Resources: WebResources, LabelCurrency %>"
        style = "color:White" runat = "server"></asp:Label>
        &nbsp;&nbsp;
        <asp:DropDownList ID = "ddlCurrency" runat = "server" AutoPostBack = "true"
            style = "color:White; height: 22px;" 
            onselectedindexchanged = "ddlCurrency_SelectedIndexChanged">
        <asp:ListItem Value = "us">US Dollar</asp:ListItem>
        <asp:ListItem Value = "eu">Euro</asp:ListItem>    
        </asp:DropDownList>
        </td>
    </tr>
</table>